package com.impak.infoot.service

/**
 * Interface for the service PlayerService
 * @author nzouabi
 *
 */
 interface IPlayerService {
 	
 	/**
	 * [PLA_1]
	 * This service returns a player given its Id
	 * @param playerId playerId
	 * @return Instance of <code>Player</code>
	 */
 	def getPlayer(playerId)
 	
 	/**
	 * [PLA_2]
	 * This service returns players playing with a team in a given date
	 * @param teamId teamId
	 * @return List of <code>Player</code>
	 */
	def getTeamPlayers(teamId, date)
	
	/**
	 * [PLA_3]
	 * This service returns the list of player that player a given match with a team
	 * @param teamId teamId
	 * @param matchId playerId
	 * @return List of <code>Player</code>
	 */
	def getPlayersOfTeamInMatch(teamId, matchId)
 
 }